import java.util.Scanner;

public class Test8 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int p1 = scanner.nextInt();
        int p2 = scanner.nextInt();
        int p3 = scanner.nextInt();
        int p4 = scanner.nextInt();
        int A = (p1+p3)/2;
        int B = (p2+p4)/2;
        int C = p4-B;
        if(A - B != p1){
            System.out.println("No");
        }else {
            System.out.println(A+" "+B+" "+C);

        }
    }
}
